set serviceName=HZY.Quartz

sc stop %serviceName% 
sc delete %serviceName% 

pause